/*
 * QueryUserAddressListResponse.java
 * business
 *
 * Created by ChenTao on 2016/9/9.
 *
 * Copyright (c) 2016年 yidiandao. All rights reserved.
 */

package com.yidiandao.business.data.response;

import com.google.gson.annotations.SerializedName;
import com.yidiandao.business.data.bean.UserAddress;
import com.yidiandao.business.data.net.BaseResponse;

import java.util.List;

/**
 * 查询用户拥有的地址列表
 */
public class QueryUserAddressListResponse extends BaseResponse {

    @SerializedName("data")
    private Data data;

    public Data getData() {
        return data;
    }

    public void setData(Data data) {
        this.data = data;
    }

    public static class Data {

        @SerializedName("default_address")
        private String defaultAddress;

        @SerializedName("address_list")
        private List<UserAddress> addressList;

        public String getDefaultAddress() {
            return defaultAddress;
        }

        public void setDefaultAddress(String defaultAddress) {
            this.defaultAddress = defaultAddress;
        }

        public List<UserAddress> getAddressList() {
            return addressList;
        }

        public void setAddressList(List<UserAddress> addressList) {
            this.addressList = addressList;
        }
    }
}
